package com.scau.productservice.dao;

import model.Product;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface ProductDao {
    //添加商品
    void addProduct(Product product);
    Product getById(String id);
    int updateSold(Product product);
}
